﻿///***************************************************************
/// 시  스  템 : Updms.Com.Exe
/// 단위시스템 : COM
/// 계      층 : Execute Layer (Relation Transaction)
/// 프로그램명 : Com1020m_RT
/// 파  일  명 : Com1020m_RT.cs
/// 설      명 : 메뉴정렬관리
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2012-09-12 송시명   최초 작성
///***************************************************************
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;


namespace Updms.Com.Exe
{
	[ComVisible(true)]
	[Transaction(TransactionOption.Required)]
	[JustInTimeActivation(true)]
	public class Com1020m_RT : Base.AppFramework.RuleBase
	{
		public Com1020m_RT()
		{
		}

		#region SetHighMenuViewOrder
		/// <summary>
		/// 메뉴정렬관리 - 정렬된 상위메뉴를 저장
		/// </summary>
		/// <param name="ls_xml"></param>
		/// <param name="ls_update_user"></param>
		/// <returns></returns>
		[AutoComplete]
		public int SetHighMenuViewOrder(string ls_xml, string ls_update_user)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.SetHighMenuViewOrder(ls_xml, ls_update_user);
			}
		}

		#endregion

		#region SetMenuViewOrder
		/// <summary>
		/// 메뉴정렬관리 - 정렬된 하위메뉴를 저장
		/// </summary>
		/// <param name="ls_xml"></param>
		/// <param name="ls_update_user"></param>
		/// <returns></returns>
		[AutoComplete]
		public int SetMenuViewOrder(string ls_xml, string ls_update_user)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.SetMenuViewOrder(ls_xml, ls_update_user);
			}
		}
		
		#endregion


	}
}
